package com.job.springsea.work0712;

/**
 * @author 于春海
 * @version 1.0
 * @since 2022-07-12 19:18:15
 */
public class Tiger {
    String name;
    AttackAbility attackability;
    public void attack(String number){
        attackability=TigerFactory.getAttack(number);
        attackability.attackability();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Tiger() {
    }
}